Click or drag to resize

Media Class

Represents media description as a part of SessionDescription.
Inheritance Hierarchy
SystemObject
  Independentsoft.Sip.SdpMedia

Namespace:  Independentsoft.Sip.Sdp
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public class Media

The Media type exposes the following members.

Constructors
  NameDescription
Public methodMedia
Initializes a new instance of the Media class.
Public methodMedia(String, Int32, String)
Initializes a new instance of the Media class with the specified media type, port and protocol type.
Public methodMedia(String, Int32, String, String)
Initializes a new instance of the Media class with the specified media type, port, protocol type and name.
Top
Properties
  NameDescription
Public propertyAttributes
Gets collection of media attributes.
Public propertyBandwidths
Gets collection of Bandwidth.
Public propertyConnection
Gets or sets the media connection data.
Public propertyEncryptionKey
Gets encryption key.
Public propertyMediaFormats
Gets collection of media formats.
Public propertyName
Gets ot sets name.
Public propertyNumberOfPorts
Gets or sets number of ports.
Public propertyPort
Gets or sets transport port to which the media stream will be sent.
Public propertyTransportProtocol
Gets or sets transport protocol. Most used value is "RTP/AVP".
Public propertyType
Gets or sets media type. Values can be "audio", "video", "application", ...
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberParse
Converts the specified string representation of a media string to its Media equivalent.
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Overrides ObjectToString.)
Top
See Also